fix indexing bug in tpo reader routes.
authortsteven4 <tsteven4@gmail.com>
Thu, 3 Apr 2014 02:24:56 +0000 (02:24 +0000)
committertsteven4 <tsteven4@gmail.com>
Thu, 3 Apr 2014 02:24:56 +0000 (02:24 +0000)
gpsbabel/tpo.cc

index c1bb98b4d1333d85f042382781d3f5fad19f09e4..159f19c9c2cca1c51c67bd2787209dd190310030 100644 (file)
@@ -1307,7 +1307,7 @@ void tpo_process_routes(void)
     //
     for (jj = 0; jj < waypoint_cnt; jj++) {
       Waypoint* waypoint_temp;
-      unsigned char val;
+      unsigned int val;
 
 
 //UNKNOWN DATA LENGTH